<template>
  <view v-if="state.car_lease !== '2'" @click="lease">
    <image
      src="https://shoujizulin2.rchz.top/image/phonezu.png"
      class="phonezu"
    ></image>
  </view>
</template>

<script>
export default{
  name:"InterestFree",
  props:{

  },
  data(){
    return{
      state: {
        car_lease: "",
      },
    }
  },
  methods:{
    /*获取配置信息*/
    setCarLease() {
      const self = this;
			self._get("setting.setting/cyphone", {}, ({ data }) => (self.state.car_lease = data.cyphone.car_lease));
    },
    // 跳转以租代购
    lease() {
      uni.navigateTo({
        url: "/pages/order/lease",
      });
    },
  },
  created(){}
}
</script>

<style lang="scss" scoped>
.phonezu {
  border-radius: 16rpx;
  width: 100%;
  height: 290rpx;
}

</style>
